home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-01-21 | 1.4 KB | 58 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="1"
- "COUNT"="2"
- "UIPATH 1"="Startup/Shutdown\Startup\Windows 9x/ME\10) Boot Menu"
- "NAME"="Delay Options"
- "VERSION"="3.18"
- "OSVERSION"="10101"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Key Delay (sec)"
- "TEXT 2"="Menu Delay (sec)"
- "DESCRIPTION 1"=""Key Delay" controls how long Windows displays the Message "Starting Windows..."."
- "DESCRIPTION 2"=""Menu Delay" controls how long the Boot Menu is displayed."
- "DESCRIPTION 3"="NOTE: These options only work in Windows 98/ME if you disable the "Display Windows logo while booting" option (General Options)."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
-
- sF="C:\MSDOS.SYS"
- sO="OPTIONS"
-
- Sub Plugin_Initialize
- Call FileSetAttribute(sf,"S-")
- Call FileSetAttribute(sf,"R-")
- Call FileSetAttribute(sf,"H-")
-
- i=IniReadValue(sf,so,"BootDelay")
- Call SetUIElement(1,i)
-
- i=IniReadValue(sf,so,"BootMenuDelay")
- Call SetUIElement(2,i)
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- Call IniWriteValue(sf,so,"BootDelay",s)
-
- s=GetUIElement(2)
- Call IniWriteValue(sf,so,"BootMenuDelay",s)
-
- Restart
- End Sub
-
-
- Sub Plugin_Terminate
- Call FileSetAttribute("C:\MSDOS.SYS","S+")
- Call FileSetAttribute("C:\MSDOS.SYS","R+")
- Call FileSetAttribute("C:\MSDOS.SYS","H+")
- End Sub
-
-
-
-